<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<s:if test="toUserList.size() > 0">
    <s:iterator value="toUserList" id="list">
        <li><a data-ajax="false"  href="<s:property value="#list.uriName"/>!read.action?keyId=<s:property value="#list.targetId"/>">
            <h3>
                <i class="fa fa-user txt-color-green"></i>
                <s:property value="#list.createrName"/>
							<span style="font-weight:normal;">
								在【<s:property value="#list.theme"/>】
							</span>
            </h3>
            <p> <s:if test="#list.parent!=null">对批注进行了回复</s:if><s:else>进行了批注</s:else> </p>
            <p>回复<s:property value="#list.atUsers"/>：
                <s:if test="#list.model == 'text'">
                    <s:property value="#list.text" escape="false"/>
                </s:if>
                <s:elseif test="#list.model.name() == 'image'">
                    <img style="border-radius: 1%;" height="50" width="50" src="../com/file.action?keyId=<s:property value="#list.file.gridId"/>" />
                </s:elseif>
                <s:if test="#list.model.name() == 'voice'">
                    [语音]
                </s:if>
            </p>
            <p ><strong> <s:property value="formatTime(#list.createDate)" /> </strong></p>
        </a>
        </li>
    </s:iterator>
</s:if>
<s:else>
    <li><a data-ajax="false"  href="javascript:void(0)">
        没有批注信息.
    </a>
    </li>
</s:else>
<input type="hidden" name="pageKeyword" value="<s:property value="pager.pageKeyword"/>" />
<input type="hidden" name="pageNumber" value="<s:property value="pager.pageNumber"/>" />
<input type="hidden" name="pageCount" value="<s:property value="pager.pageCount"/>" />
<input type="hidden" name="totalCount" value="<s:property value="pager.totalCount"/>" />
